<style>
.right-arrow {
	background: url(images/select-to-right.png) no-repeat;
	width: 50px;
	height: 50px;
	
	cursor:pointer;
}
.left-arrow {
	background: url(images/select-to-left.png) no-repeat;
	width: 50px;
	height: 50px;
	
	cursor:pointer;
}
.disabled-right-arrow {
	background: url(images/disabled-right-arrow.png) no-repeat;
	width: 33px;
	height: 33px;
	margin-top: 30px;
}
th {
text-align: left!important;
}
.select-area {
margin: 10px;
border: inset 1px #cfcfcf;
float:left;
height: 500px;
overflow:scroll;
}
</style>
<script type="text/javascript" src="../php/js/lapdsthi.js"></script>
<div class="content-box"><!-- Start Content Box -->
	<div class="content-box-header">
		<h3>Lập Danh Sách Thi</h3>
	</div>
	<!-- main content -->
	<div class="content-box-content">
	
	
	<form action="../php/lapds_ajax.php?action=themds" method="POST" id="formnoidung" name="dulieu">
	<table width="100%">
	<tbody>
	<tr><td colspan="10"><b>Hội đồng thi:</b> {$donvi->getten_trungtam()} - <b>Mã số: </b>{$hd->getma_hoidong()}<input type="hidden" name="mahoidong" value="{$hd->getma_hoidong()}" /> - <b>&nbsp;Môn thi: </b>{$monhoc->getten_mh()}<input type="hidden" name="monthi" value="{$monhoc->getmadm_mh()}" /> - <b>&nbsp;Học vụ: </b>{$hocvu}</td></tr>

	<tr>
		<td class="cangiua"><label for="ngaythi">Ngày thi</label>&nbsp;<input type="date" name="ngaythi" value="{$date}" />
		<label for="cathi">&nbsp;&nbsp;Ca thi</label>&nbsp;
			<select name="cathi">
				{foreach from=$ds_cathi item=cathi}
					<option value="{$cathi->getmadm_ca()}">{$cathi->getkhungthoigian()}</option>
				{/foreach}
			</select>
		
		<label for="dsso">&nbsp;&nbsp;DS Số &nbsp;</label>
			<input type="text" class="small-input" name="dsso" />
		
		<input type="hidden" name="push" id="push"  value="">
		<input type="hidden" name="pop" id="pop" value="">
		<input class="button" type="submit" name="Luu" value="Lập danh sách">
		</td>
	</tr>
	</tbody>
	</table>
	 </form>
		<div style="overflow:hidden">
		<div class="select-area" id="sv-source">
		
        <table class="select-table">
        <tbody id="unselect-area">
			
			<tr class="alt-row">
				<th><input type="checkbox" value="" class="select-all" /></th>
				
				<th>Mã SV</th>

				<th>Tên SV</th>

				<th>Ngày sinh</th>



				<th>Lớp môn</th>
			</tr>
			{foreach from=$sinhvien item=sv}
			<tr>
				<td><input type="checkbox" value="{$sv['ma_dkm']}" class="sv-item" /></td>

				<td>{$sv['ma_sv']}</td>

				<td>{$sv['hoten_sv']}</td>

				<td>{$sv['ngaysinh_sv']}</td>



				<td>{$sv['ma_lopmon']}</td>
			</tr>
			{/foreach}
        </tbody>
		</table>
        </div>
		<div style="float:left;margin-left: 60px;margin-top: 200px;">
			<div id="right-select-btn" class="right-arrow"></div>
			<br />
			<div id="left-select-btn" class="left-arrow"></div>
		</div>
		<div class="select-area" id="sv-selected" style="float:right">
		
		<table class="select-table">
        <tbody id="selected">
			
			<tr class="alt-row">
				<th><input type="checkbox" value="" class="select-all" /></th>
				
				<th>Mã SV</th>

				<th>Tên SV</th>

				<th>Ngày sinh</th>



				<th>Lớp môn</th>
			</tr>
			
        </tbody>
		</table>
		</div>
		</div>
   
	
	<!-- End main content -->
</div>